package com.erp.base.oa.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.erp.base.oa.entity.NotifyRecord;

/**
 * 通知通告发送记录
 * 
 * @author whw
 * @date 2017-10-09 17:18:45
 */
@Mapper
public interface NotifyRecordDao {

	NotifyRecord get(Long id);

	List<NotifyRecord> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(NotifyRecord notifyRecord);

	int update(NotifyRecord notifyRecord);

	int remove(Long id);

	int batchRemove(Long[] ids);

	int batchSave(List<NotifyRecord> records);

	Long[] listNotifyIds(Map<String, Object> map);

	int removeByNotifbyId(Long notifyId);

	int batchRemoveByNotifbyId(Long[] notifyIds);

	int changeRead(NotifyRecord notifyRecord);
}
